package com.cz.fra.android.entity;

import android.content.ContentValues;

import com.cz.fra.android.data.FishReport.AuthInfo;

public class Auth {

	private String username;
	
	private String password;
	
	private String isFirstLogin;

	private String isFirstGetReportList;
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getIsFirstLogin() {
		return isFirstLogin;
	}

	public void setIsFirstLogin(String isFirstLogin) {
		this.isFirstLogin = isFirstLogin;
	}

	public String getIsFirstGetReportList() {
		return isFirstGetReportList;
	}

	public void setIsFirstGetReportList(String isFirstGetReportList) {
		this.isFirstGetReportList = isFirstGetReportList;
	}
	
	public ContentValues instanceToCV(){
		ContentValues cv = new ContentValues();
		cv.put(AuthInfo.USERNAME, username);
		cv.put(AuthInfo.PASSWORD, password);
		cv.put(AuthInfo.isFirstGetReportList, isFirstGetReportList);
		cv.put(AuthInfo.isFirstLogin, isFirstLogin);
		return cv;
	}
}
